Anomify API Documentation
Anomify AI Main Site | Anomify Documentation
This copy of our API documentation is no longer updated and may be inaccurate. Please go to http://api-docs.anomify.ai/.

/anomalies

/anomalies

/anomaly

/anomaly/lookup
/anomaly/train
/anomaly/{anomaly_id}

/billing

/billing/checkoutcallback
/billing/getcheckoutsession
/billing/getportalsession
/billing/history

/doc

/doc/openapi

/exclusion

/exclusion/add
/exclusion/delete
/exclusion/list
/exclusion/test
/exclusion/types

/image

/image/anomaly
/image/metric

/js

/js/eventsender

/login

/login

/login DEBUG 100

/login DEBUG 100

/login DEBUG 1069

/login DEBUG 1069

/login DEBUG STAGE

/login DEBUG STAGE

/login

/login/forgotpassword
/login/resetpassword
/login/validateclient

/match

/match/{match_id}
/match/{match_id}/graph
/match/{match_id}/motif/graph

/metric

/metric/{metric_name}
/metric/{metric_name}/anomalies
/metric/{metric_name}/anomalysummary
/metric/{metric_name}/bundle
/metric/{metric_name}/graph
/metric/{metric_name}/patterns
/metric/{metric_name}/timeseries
/metric/{metric_name}/yhat

/metrics

/metrics
/metrics/mostanomalous
/metrics/mostrecentlyanomalous
/metrics/mostrecentlymatched

/misc

/misc/phonecodes
/misc/timesince
/misc/timezones

/org

/org/adminalert/{alert_code}
/org/adminalerts
/org/channels
/org/events
/org/getquotametrics
/org/graph
/org/info
/org/removequotametrics
/org/stripecallback
/org/summary
/org/testmetrics
/org/update
/org/users

/pattern

/pattern/{pattern_id}
/pattern/{pattern_id}/disable
/pattern/{pattern_id}/matches
/pattern/{pattern_id}/timeseries

/patterns

/patterns/pending

/ping

/ping

/signup

/signup/demo
/signup/demo-orgs
/signup/selfserve
/signup/verify

/status

/status

/user

/user/delete
/user/info
/user/logout
/user/ping
/user/reportissue
/user/update
/user/updatepassword

/watcher

/watcher/create
/watcher/{watcher_id}/delete
/watcher/{watcher_id}/undelete
/watcher/{watcher_id}/update

/watchers

/watchers/chips
/watchers/list

Method: /metric/{metric_name}/timeseries

Detail

This method is not available to demo user accounts.

Returns a timeseries for the metric supplied in the URL.

Parameters

Key Required Example Description
from yes 1588603852 Timestamp
until no 1588690252 Timestamp
resolution no 600 Resolution of results in seconds. Should be a multiple of 600. Defaults to 600 if not supplied
max_graph_width no 1000 Automatically determines the best resolution for the specified graph width. This parameter takes precedence over any value specified as "resolution"
format no csv Outputs CSV format if specified. Otherwise defaults to JSON. This parameter is for debug purposes and is not guaranteed to remain available.

Metric name is supplied in the URL, e.g.

/metric/graphite-labs_wikimedia_org.clouddb-services.clouddb1001.cpu.total.user/timeseries

Example Output

{
    "status": { ... see /login method for status block structure ... },
    "data": {
        "1605047400": {
            "yhat_lower": 16.744999999999997,
            "yhat_real_lower": 16.744999999999997,
            "yhat_upper": 16.744999999999997
        },
        "1605048000": {
            "3sigma_upper": 18.12899999999999,
            "yhat_lower": 13.977000000000002,
            "yhat_real_lower": 13.977000000000002,
            "yhat_upper": 19.03544999999999
        },
        "1605048600": {
            "3sigma_upper": 18.828284133902464,
            "yhat_lower": 11.836382532764196,
            "yhat_real_lower": 11.836382532764196,
            "yhat_upper": 19.769698340597586
        },
        "1605049200": {
            "3sigma_upper": 19.65042622402243,
            "yhat_lower": 11.934573775977565,
            "yhat_real_lower": 11.934573775977565,
            "yhat_upper": 20.63294753522355
        },
        "1605049800": {
            "3sigma_upper": 20.364235910167864,
            "yhat_lower": 9.912564089832136,
            "yhat_real_lower": 9.912564089832136,
            "yhat_upper": 21.382447705676256
        },
        "1605050400": {
            "3sigma_upper": 21.09623354734709,
            "yhat_lower": 7.800099785986239,
            "yhat_real_lower": 7.800099785986239,
            "yhat_upper": 22.151045224714444
        },
        "1605051000": {
            "3sigma_upper": 20.884002977991734,
            "yhat_lower": 7.198568450579691,
            "yhat_real_lower": 7.198568450579691,
            "yhat_upper": 21.928203126891322
        }
    }
}

Live Request

URL: /metric//timeseries

You need to be logged in to your Anomify account to to make live API requests.

Please log in here or sign up to Anomify

Email
Password

Live request results will appear here.